package com.tedu.ds.contract.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class ContractVO {
    @ApiModelProperty(value = "员工合同id", example = "1")
    private Integer id;

    @ApiModelProperty(value = "甲方", example = "ABC公司", required = true)
    private String partA;

    @ApiModelProperty(value = "乙方", example = "XYZ公司", required = true)
    private String partB;

    @ApiModelProperty(value = "合同名称", example = "技术服务合同", required = true)
    private String name;

    @ApiModelProperty(value = "合同类型", example = "服务合同")
    private String type;

    @ApiModelProperty(value = "合同内容", example = "提供为期一年的技术支持服务")
    private String content;

    @ApiModelProperty(value = "备注", example = "此合同为年度服务合同")
    private String remark;

    @ApiModelProperty(value = "创建人", example = "张三", required = true)
    private String createUser;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")

    @ApiModelProperty(value = "创建时间", example = "2023-10-24T20:00:00")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")

    @ApiModelProperty(value = "生效时间", example = "2023-10-24T20:00:00")
    private Date effectTime;

    @ApiModelProperty(value = "最后修改人", example = "李四")
    private String lastUpdateUser;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")

    @ApiModelProperty(value = "更新时间", example = "2023-10-24T20:00:00")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")

    @ApiModelProperty(value = "结束时间", example = "2024-10-24T20:00:00")
    private Date endTime;

    @ApiModelProperty(value = "合同状态", example = "有效")
    private String status;

    @ApiModelProperty(value = "修改次数", example = "0")
    private Integer updateTimes;
}
